package com.itheima.springrabbitmqproducer.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author wxw
 * @data 2021/1/1 20 :25
 * @description
 */
@Mapper
@Repository
public interface StudentMapper {

     @Insert("insert into student(name) value(#{name})")
    void addStudent(String name);


}
